<?php

declare(strict_types=1);
/**
 * CodeFec - Hyperf
 *
 * @link     https://github.com/zhuchunshu
 * @document https://codefec.com
 * @contact  laravel@88.com
 * @license  https://github.com/zhuchunshu/CodeFecHF/blob/master/LICENSE
 */
namespace App\CodeFec\Itf\Setting;

interface SettingInterface
{
    /**
     * 获取菜单数组.
     */
    public function get(): array;
	
	/**
	 * 新增菜单.
	 *
	 * @param int 菜单id $id
	 * @param string $name
	 * @param string $ename
	 * @param string $view
	 * @return bool
	 */
    public function add(int $id, string $name,string $ename,string $view): bool;
}
